<?php
class Item extends EMongoDocument {

    public $hotel;
    public $owner_id;
    public $title;
    public $description;
    public $type;
    public $caption;
    public $order;
    public $originalFilename;
    public $source;
    public $galleryid;
    public $page;
    public $created;
    public $published;
    public function attributeLabels() {
        return array(
            'hotel' => 'hotel',
            'title' => 'title',
            'owner_id' => 'owner_id',
            'description' => 'description',
            'type' => 'type',
            'caption' => 'caption',
            'order' => 'order',
            'originalFilename' => 'originalFilename',
            'source' => 'source',
            'galleryid' => 'galleryid',
            'page' => 'page',
            'created' => 'created',
            'published' => 'published'
        );
    }
        public static function model($className = __CLASS__) {
        return parent::model($className);
    }

    public function getCollectionName() {
        return 'items';
    }
        }
?>
